<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>随机数</title>
</head>
<body>
<h2>一等奖:<span id="one">???</span></h2>
<h3>二等奖:<span id="second">???</span></h3>
<h4>三等奖:<span id="third">???</span></h4>
<script>
	const arr=["韦俊财","张耀镰","胡佳俊","钱劲龙","郭恩博"]
	for (let i=0;i<3;i++){

	}
	const  random=Math.floor(Math.random()*arr.length)
	const one =document.querySelector('#one')
	one.innerHTML=arr[random]
	arr.splice(random)


</script>
</body>
</html>